<include file="Public:headerFrame" />

    <div class="admin_hd clearfix">
        <span class="fl"><a  href="<{:U('Admin-Index/mainFrame')}>" target="mainFrame">管理中心</a> - 订单列表</span>
    </div>

    <div class="admin_hd clearfix mt10">
        <form action="<{:U('Admin-Orders/search_order')}>" method="GET">
            <img width="26" height="22" style="vertical-align:middle" border="0" alt="SEARCH" src="../Public/images/icon_search.gif">
            <select class="input_text news_title" name="condition">
                <option value="order_No">订单号</option>
                <option value="alipay_No">交易号</option>
            </select>
            <input type="text" name="keyword" class="text_input">&nbsp;
            <input type="submit" value=" 搜索 ">
        </form>
    </div>

    <div class="list_div mt10">

        <form action="<{:U('Admin-Orders/del_orders')}>" method="GET">
            <table width="100%" cellspacing="1" cellpadding="3" id="table">
                <tr>
                    <th width="20%"><input type="checkbox" id="more_checkbox">订单号</th>
                    <th width="20%">下单时间</th>
                    <th width="20%">总金额</th>
                    <th width="20%">订单状态</th>
                    <th width="20%">操作</th>
                </tr>

                <volist name="data.ordersList" id="vo" key="k">
                <tr>
                    <td id="id" align="left"><input type="checkbox" class="check" name="<{$k}>" value="<{$vo.id}>"><{$vo.order_No}></td>
                    <td><{$vo.add_date|date="Y-m-d H:i:s",###}></td>
                    <td><{$vo.price}></td>
                    <td><switch name="vo.status" ><case value="0">等待付款</case><case value="1">已付款，等待发货</case><case value="2">已发货，等待收货</case><case value="3">交易成功</case></switch></td>
                    <td align="center">
                        <a title="编辑" href="<{:U('Admin-Orders/edit_order/id/').$vo['id']}>">编辑</a>
                        <a title="移除" href="<{:U('Admin-Orders/del_orders/id/').$vo['id']}>" id="del">移除</a>
                    </td>
                </tr>
                </volist>

                <tr>
                    <td style="text-align:left"><input type="submit" class="button" id="more_del" value="删除订单" /></td>
                    <td colspan="4" align="right"><{$data.show}></td>
                </tr>
            </table>
        </form>

    </div>

<include file="Public:footFrame" />
